package com.yingdong.db.domain;

import com.yingdong.annotation.*;
import java.sql.*;

public class ${classname?cap_first} extends DBObjects{
    


 <#list fields as field>  
    /**
	 * ${field.comment}
	 */
	<#if field.prim>@PrimeKey</#if>
	<#if field.autoIncrease>@AutoIncrease</#if>
    private ${field.type} ${field.name}=${field.defaultValue};
    
 </#list>  
 
<#list fields as field>  

    public ${field.type} get${field.name?cap_first}() {
	    return ${field.name};
	}
	
	public void set${field.name?cap_first}(${field.type} ${field.name}) {
		this.${field.name} = ${field.name};
		changeDBStatus();
	}
 </#list>  
 
  
}